# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
#

PORTNAME=	zeitgeist
PORTVERSION=	0.9.5
CATEGORIES=	sysutils
MASTER_SITES=	https://launchpadlibrarian.net/113683187/ \
	https://launchpad.net/${PORTNAME}/${PORTVERSION:R}/${PORTVERSION}/+download/

MAINTAINER=	kwm@FreeBSD.org
COMMENT=	Event logging framework - engine

BUILD_DEPENDS=	rapper:${PORTSDIR}/textproc/raptor2 \
		${PYTHON_SITELIBDIR}/rdflib/__init__.py:${PORTSDIR}/textproc/py-rdflib \
		valac:${PORTSDIR}/lang/vala
LIB_DEPENDS=	dee-1:${PORTSDIR}/devel/dee
RUN_DEPENDS=	${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3 \
		${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus

USE_BZIP2=	yes
USE_GNOME=	gnomehack intlhack pygobject3
USE_GMAKE=	yes
USE_PYTHON=	yes
#FETCH_ARGS=	-Fpr
GNU_CONFIGURE=	yes
USE_GETTEXT=	yes
USE_PKGCONFIG=	build
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

CONFIGURE_ARGS+=--disable-fts \
	--with-dee-icu=yes

MAN1=	zeitgeist-daemon.1

.include <bsd.port.mk>
